pkgname=device-lg-d285
pkgver=1
pkgrel=1
pkgdesc="LG L65"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-lg-d285 mkbootimg msm-fb-refresher"
makedepends=""
install=""
subpackages=""
source="
	deviceinfo
	initfs-hook.sh
	90-android-touch-dev.rules
"
options="!check"

package() {
	install -D -m644 "$srcdir/deviceinfo" \
		"$pkgdir/etc/deviceinfo"
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
	install -D -m644 "$srcdir"/initfs-hook.sh \
		"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
}

sha512sums="86ec02c69f9c036caabb1db31c2bcd988a6fc7eacbe62b4c5db41608a68feb43f6841bed30f2f60a1fccc3f7878f61bb5fa8d637b3e50f03f36c5aa1c95e52bb  deviceinfo
78224ef3078dd8ee6b15de7a72cc3fe05ec4cb8eb503e11aa06e83009da8a8c104562463ac747d00ac9854c18b16fa557df01f377f4f9af5d98429906fdd016f  initfs-hook.sh
568d407c3e96b45d740af8617f0e389d36a7091dceccae8f77288fdc45fb7a5ed418c28f31d7fe5a51d92337a40b2dd741b1b18ad02e3fbae91f9a2035d62c95  90-android-touch-dev.rules"
